import { getToken } from '@/utils/auth'

export const reqToken = (config) => {
  const token = getToken()
  if (token) {
    config.headers.token = token
  }
  return config
}
